package model

import "gorm.io/gorm"

type Volume struct {
	gorm.Model
	VolumeName string    `json:"volumename" gorm:"type:varchar(12); not null; unique"`
	VOutline   string    `json:"voutline" gorm:"type:text;"`
	Chapters   []Chapter `json:"chapters"`
	BookID     uint      `json:"bookid"`
}
